package com.feisuanyz.repository;

import com.feisuanyz.entity.OperationLog;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface OperationLogRepository extends JpaRepository<OperationLog, Integer> {

    List<OperationLog> findByEventId(Integer eventId);

    List<OperationLog> findByTicketId(Integer ticketId);
}